﻿#pragma once

class BinaryTreeNode 
{
public:
    BinaryTreeNode(int value);
    ~BinaryTreeNode();

    size_t getDepth(BinaryTreeNode* head = nullptr);
    size_t getNodeCount(BinaryTreeNode* head = nullptr);

public:
    BinaryTreeNode* left;
    BinaryTreeNode* right;
    BinaryTreeNode* parent;
    int value;
};